<script setup lang="ts">

      import useCountStore from '@/store/count';
      import { ref } from 'vue';

      let countStore = useCountStore()

      

</script>

<template>
  <!-- 与store中的值进行双向绑定 -->
  <input  v-model="countStore.input"  id="input-box" type="text">

</template>

<style scoped>
#input-box {
width: 161px;
margin-bottom: 10px;
height: 30px;
border:1px solid #ccc;
border-radius: 2px;
background-color: white;
color : #666;
padding: 0 5px;
text-align: right;
}
</style>
